// default package

import java.util.HashSet;
import java.util.Set;


/**
 * Question entity. @author MyEclipse Persistence Tools
 */

public class Question  implements java.io.Serializable {


    // Fields    

     private String content;
     private String answer;
     private Set mistakerecords = new HashSet(0);
     private Set homeworkdetails = new HashSet(0);


    // Constructors

    /** default constructor */
    public Question() {
    }

	/** minimal constructor */
    public Question(String content, String answer) {
        this.content = content;
        this.answer = answer;
    }
    
    /** full constructor */
    public Question(String content, String answer, Set mistakerecords, Set homeworkdetails) {
        this.content = content;
        this.answer = answer;
        this.mistakerecords = mistakerecords;
        this.homeworkdetails = homeworkdetails;
    }

   
    // Property accessors

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public String getAnswer() {
        return this.answer;
    }
    
    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Set getMistakerecords() {
        return this.mistakerecords;
    }
    
    public void setMistakerecords(Set mistakerecords) {
        this.mistakerecords = mistakerecords;
    }

    public Set getHomeworkdetails() {
        return this.homeworkdetails;
    }
    
    public void setHomeworkdetails(Set homeworkdetails) {
        this.homeworkdetails = homeworkdetails;
    }
   








}